GtkRange: Improve zoom handling a bit
authorMatthias Clasen <mclasen@redhat.com>
Sun, 21 Jun 2015 00:26:42 +0000 (20:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 21 Jun 2015 00:26:42 +0000 (20:26 -0400)
commit93f9a81ac5d1a4239ad1aef60a126446810ef1ab
tree7fa58417c2d39fec9dfd37f45b704891a4833b5a
parent27dabaefa6f6edee78e05e6a76fccf20be2c7679
GtkRange: Improve zoom handling a bit

The calculation to update the initial slider position on zoom
changes was not working correctly when using keys to toggle
zoom on and off for scales. Avoid it by updating the position
beforehand.
gtk/gtkrange.c